package com.xiaojiang.blog.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MyConstants {

    public static String FILE_UPLOAD_DIC = " ";

    @Value("${xiaojiangBlogUpload.fileUploadDic}")
    public void setFileUploadDic(String fileUploadDic) {
        MyConstants.FILE_UPLOAD_DIC = fileUploadDic;
    }
}
